package com.itqf.ipmsys.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.util.Date;

/**
 * @author corn
 * @create 2021-10-10 18:39
 * @Description: ${Description}
 */
public class TrafficVO {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 上报单位id
     */
    private String unit;

    /**
     * 值班日期
     */

    private Date date;

    /**
     * 上报时间
     */
    private Date uploadTime;

    /**
     * 道路
     */
    private String street;

    /**
     * 路况类型 1：正常      2：拥堵
     */
    private String type;

    @Override
    public String toString() {
        return "TrafficDTO{" +
                "id=" + id +
                ", unit='" + unit + '\'' +
                ", date=" + date +
                ", uploadTime=" + uploadTime +
                ", street='" + street + '\'' +
                ", type='" + type + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Date getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(Date uploadTime) {
        this.uploadTime = uploadTime;
    }

    public String getStreet() {
        return street;
    }

    public void setStreet(String street) {
        this.street = street;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
